//
//  NSURL+JPF.h
//  JPFCoreKit
//
//  Created by jpf on 2020/4/24.
//  Copyright © 2020 jpf. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSURL (JPF)

//url编码字符串，处理中文和特殊字符
+ (nullable NSString *)urlEncodingString:(NSString *)strUrl;
//url编码，返回NSURL
+ (nullable instancetype)safeURLWithString:(NSString *)URLString;

@end

NS_ASSUME_NONNULL_END
